package cate.common.table.res.hero.inherit.sheet;

import cate.common.table.ESheet;
import cate.common.table.res.hero.inherit.row.HeroInheritCostRow;

public class HeroInheritCostSheet extends ESheet<HeroInheritCostRow> {
    @Override
    public String getSheetName() {
        return "道具消耗";
    }


    public HeroInheritCostRow findRow(int star) {
        return getList().stream().filter(e -> e.star == star).findAny().orElse(null);
    }
}
